/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.entity;

import com.jeeplus.modules.infor.entity.Goods;
import com.jeeplus.modules.wms.entity.Outbound;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 出库物料明细Entity
 * @author 李超辉
 * @version 2017-12-12
 */
public class Storehouse extends DataEntity<Storehouse> {
	
	private static final long serialVersionUID = 1L;

	private Goods name;		// 物料名称
	private String code;		// 物料编码
	private String packing;		// 物料类型
	private String unit;		// 单位
	private String no;		// 箱号
	private String status;		// 状态
	private String orderNumber;		// 订货数量
	private String distribution;		// 分配数量
	private String picking;		// 拣货数量
	private String deliver;		// 发货数量
	private String price;		// 单价
	private String money;		// 金额
	private  String  number; //提货单号
	private  String pro; //项目名称
	private Outbound outbound;		// 发货订单（出库单） 父类
	private int idx;
	private String bill;//运单Id

	public String getBill() {
		return bill;
	}

	public void setBill(String bill) {
		this.bill = bill;
	}

	public Storehouse() {
		super();
	}

	public Storehouse(String id){
		super(id);
	}

	public Storehouse(Outbound outbound){
		this.outbound = outbound;
	}
	public int getIdx() {
		return idx;
	}

	public void setIdx(int idx) {
		this.idx = idx;
	}
	@ExcelField(title="物料名称", align=2, sort=6)
	public Goods getName() {
		return name;
	}

	public void setName(Goods name) {
		this.name = name;
	}

	@ExcelField(title="物料编码", align=2, sort=7)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@ExcelField(title="包装", align=2, sort=8)
	public String getPacking() {
		return packing;
	}

	public void setPacking(String packing) {
		this.packing = packing;
	}
	
	@ExcelField(title="单位", align=2, sort=9)
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	@ExcelField(title="箱号", align=2, sort=10)
	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}
	
	@ExcelField(title="状态", align=2, sort=11)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@ExcelField(title="订货数量", align=2, sort=12)
	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}
	
	@ExcelField(title="分配数量", align=2, sort=13)
	public String getDistribution() {
		return distribution;
	}

	public void setDistribution(String distribution) {
		this.distribution = distribution;
	}
	
	@ExcelField(title="拣货数量", align=2, sort=14)
	public String getPicking() {
		return picking;
	}

	public void setPicking(String picking) {
		this.picking = picking;
	}
	
	@ExcelField(title="发货数量", align=2, sort=15)
	public String getDeliver() {
		return deliver;
	}

	public void setDeliver(String deliver) {
		this.deliver = deliver;
	}
	
	@ExcelField(title="单价", align=2, sort=16)
	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	
	@ExcelField(title="金额", align=2, sort=17)
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	@ExcelField(title = "提货单号",align = 2,sort = 18)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}



	@ExcelField(title = "项目名称",align = 2,sort = 19)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}


	public Outbound getOutbound() {
		return outbound;
	}

	public void setOutbound(Outbound outbound) {
		this.outbound = outbound;
	}
	
}